package vn.com.bookstore.domain.model;

import java.io.Serializable;
import java.util.Date;

@SuppressWarnings("serial")
public class AudioBook implements Serializable {
	private Integer id;
	private Integer publisherId;
	private String title;
	private String description;
	private String urlAudio;
	private String imageUrl;
	private Date createdDate;
	private double price;
	private double discount;
	private Integer active;
	
	public AudioBook() {
		
	}
	
	public AudioBook(Integer id, Integer publisherId, String title, String description,
			String urlAudio, String imageUrl, Date createdDate, double price, double discount, Integer active) {
		this.id = id;
		this.title = title;
		this.description = description;
		this.urlAudio = urlAudio;
		this.imageUrl = imageUrl;
		this.createdDate = createdDate;
		this.price = price;
		this.discount = discount;
		this.publisherId = publisherId;
		this.active = active;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getUrlAudio() {
		return urlAudio;
	}

	public void setUrlAudio(String urlAudio) {
		this.urlAudio = urlAudio;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public double getPrice() {
		return price;
	}

	public void setPrice(double price) {
		this.price = price;
	}

	public double getDiscount() {
		return discount;
	}

	public void setDiscount(double discount) {
		this.discount = discount;
	}

	public Integer getPublisherId() {
		return publisherId;
	}

	public void setPublisherId(Integer publisherId) {
		this.publisherId = publisherId;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public Integer getActive() {
		return active;
	}

	public void setActive(Integer active) {
		this.active = active;
	}

}
